<?php $view->extend('Site1Bundle:Sitetree:layout') ?>
<form action="<?php echo $view['router']->generate('sitetree_create', array('id' => $parent)); ?>" method="post">
    <table>
         <tr>
            <td>
                Название:
            </td>
            <td>
                <input name="title" type="text"/>
            </td>
        </tr>
        <tr>
            <td>
                Порядок:
            </td>
            <td>
                <input name="order" type="text"/>
            </td>
        </tr>

        <tr>
            <td colspan="2"><hr /></td>
        </tr>
        <tr>
            <td>Контроллер:</td>
            <td>
                <input type="text" name="controller"/>
            </td>
        </tr>
        <tr>
            <td>Модуль:</td>
            <td><select name="module">
                <?php foreach($modules as $module): ?>
                <option value="<?php echo $module; ?>"><?php echo $module ?></option>
                <?php endforeach; ?>
            </select></td>
        </tr>
        <tr>
            <td>Путь:</td>
            <td><input type="text" name="path" /></td>
        </tr>
        <tr>
            <td colspan="2"><input type="submit" /></td>
        </tr>
    </table>
</form>